import { useNavigate } from "react-router-dom"


const Index =()=>{
    const nav=useNavigate()
    const skip=()=>{
        nav('/contact')
    }
    return(
      <button onClick={skip}>   
        登录
    </button>
        
    )
}

export default Index